package com.example.springboot.dto;

public class OrderResponse {
    private Integer orderId;
    private Integer userId;
    private Double orderAmount;
    private String paymentMethod;
    private String paymentStatus;
    private String transactionId;
    private String orderType;

    // Getter 和 Setter 方法
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {  // 修改为 Integer 类型
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {  // 修改为 Integer 类型
        this.userId = userId;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
}
